package com.shengqin.config.model;

import lombok.Data;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@Configuration
public class TestProjectConfig {
    private Map<String,String> projectMap = new HashMap<>();
    private Map<String,String> gradeMap = new HashMap<>();

    private List<ProjectModel> projectModelList = new ArrayList<>();

    @PostConstruct
    public void init(){
        projectModelList.add(new ProjectModel("1","肺活量","vitalLevel"));
        projectModelList.add(new ProjectModel("4","BMI","bmiLevel"));
        projectModelList.add(new ProjectModel("5","坐位体前屈","sitAndReachLevel"));
        projectModelList.add(new ProjectModel("6","立定跳远","jumpLevel"));
        projectModelList.add(new ProjectModel("7","50米跑","run50Level"));
        projectModelList.add(new ProjectModel("8","一分钟跳绳","ropeSkipLevel"));
        projectModelList.add(new ProjectModel("9","一分钟仰卧起坐","abdominalLevel"));
        projectModelList.add(new ProjectModel("10","引体向上","pullUpLevel"));
        projectModelList.add(new ProjectModel("11","800米","run800Level"));
        projectModelList.add(new ProjectModel("12","1000米","run1000Level"));
        projectModelList.add(new ProjectModel("15","50米×8往返跑","run50x8Level"));


        gradeMap.put("11","一年级");
        gradeMap.put("12","二年级");
        gradeMap.put("13","三年级");
        gradeMap.put("14","四年级");
        gradeMap.put("15","五年级");
        gradeMap.put("16","六年级");
        gradeMap.put("21","初一");
        gradeMap.put("22","初二");
        gradeMap.put("23","初三");
        gradeMap.put("31","高一");
        gradeMap.put("32","高二");
        gradeMap.put("33","高三");
        gradeMap.put("41","大一");
        gradeMap.put("42","大二");
        gradeMap.put("43","大三");
        gradeMap.put("44","大四");

        projectMap.put("11_1","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳");
        projectMap.put("11_2","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳");
        projectMap.put("12_1","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳");
        projectMap.put("12_2","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳");
        projectMap.put("13_1","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐");
        projectMap.put("13_2","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐");
        projectMap.put("14_1","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐");
        projectMap.put("14_2","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐");
        projectMap.put("15_1","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐,50米×8往返跑");
        projectMap.put("15_2","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐,50米×8往返跑");
        projectMap.put("16_1","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐,50米×8往返跑");
        projectMap.put("16_2","身高体重,肺活量,50米跑,坐位体前屈,一分钟跳绳,一分钟仰卧起坐,50米×8往返跑");
        projectMap.put("21_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("21_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("22_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("22_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("23_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("23_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("31_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("31_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("32_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("32_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("33_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("33_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("41_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("41_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("42_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("42_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("43_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("43_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
        projectMap.put("44_1","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,引体向上,1000米");
        projectMap.put("44_2","身高体重,肺活量,50米跑,坐位体前屈,立定跳远,一分钟仰卧起坐,800米");
    }
}
